package org.example.system.config.properties;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Accessors(chain = true)
@Component
@ConfigurationProperties(prefix = "wx.pay", ignoreInvalidFields = true)
public class WxPayProperties {
    private String appId;
    private String appSecret;
    private String mchId;
    private String mchKey;
    private String notifyUrl;
    private String refundUrl;
    private String keyPath;
    private String privateKeyPath;
    private String privateCertPath;
}